package com.sunwayworld.basemodule.rm.material.service;

import com.sunwayworld.basemodule.rm.material.bean.LimsMaterialBean;
import com.sunwayworld.basemodule.rm.material.bean.LimsStandardHistoryBean;
import com.sunwayworld.basemodule.rm.material.bean.LimsStandardInventoryBean;
import com.sunwayworld.framework.at.annotation.AuditTrailEntry;
import com.sunwayworld.framework.at.annotation.AuditTrailType;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.choosable.service.GenericChoosableService;
import org.springframework.transaction.annotation.Transactional;

public interface LimsStandardInventoryService extends GenericService<LimsStandardInventoryBean, Long>, GenericChoosableService<LimsStandardInventoryBean, Long> {

    void saveHistory(LimsStandardInventoryBean standardInventoryBean, Double inlibrarynum, String supplier, String operation);

    void checkOutStandard(RestJsonWrapperBean jsonWrapper);

    LimsStandardHistoryBean getHistory(LimsStandardInventoryBean standardInventoryBean, Double inlibrarynum, String supplier, String operation);

    void inventoryStandard(RestJsonWrapperBean wrapper);

    void updateLimsMaterial(LimsMaterialBean materialBean, Double inlibrarynum, String operation);

    void deleteHistory(RestJsonWrapperBean wrapper);
}
